package screen;

public abstract class ObjetoTela {

    protected int x, y;
    protected boolean selected;

    public ObjetoTela(int x, int y) {
        this.x = x;
        this.y = y;
        this.selected = false;
    }

    public abstract void desenhar();

    public boolean isSelected() {
        return selected;
    }

    public void setSelected(boolean selected) {
        this.selected = selected;
    }
}
